home *** CD-ROM | disk | FTP | other *** search
- Path: seas.gwu.edu!salem
- From: salem@seas.gwu.edu (Salem A. Oumera)
- Newsgroups: comp.lang.c++
- Subject: Problem closing windows. Help!
- Date: 2 Apr 1996 06:08:52 GMT
- Organization: George Washington University
- Message-ID: <4jqg9k$8vc@cronkite.seas.gwu.edu>
- NNTP-Posting-Host: 128.164.9.3
- X-Newsreader: TIN [version 1.2 PL2]
-
- Hi Everyone,
-
- I am a new programmer to C++ and I am using Borland C++ 4.5. I am trying to
- close a window and then display another, but it won't close the window first.
-
- Basically, I am using the following command to display an window of info:
- TDialog(this, IDD_DialogName).Execute();
-
- This works fine, but when I try to open another window using the same command
- the program just freezes. I try to close the window first, using the
- CloseWindow function, but apparantly I am doing something wrong. I have used
- several reference books, but no real luck.
-
- If anyone can help me out, I would really appreciate it. This simple problem
- is getting really frustrating. Thanks ahead of time.
-
- Montana
-